// RegistrationDlg.cpp : implementation file
//

#include "stdafx.h"
#include "resource.h"
#include "RegistrationDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif


#ifdef _NET_VC_

#ifndef _VC_J7_
	#define	DIALOG_TITLE	_T("Streambox NetVC Viewer")
#else
	#define	DIALOG_TITLE	_T("Streambox VC-J7 Viewer")
#endif


#elif defined VC70
	#define	DIALOG_TITLE	_T("Streambox VC-70 Viewer")
#else
	#define	DIALOG_TITLE	_T("Streambox VC-10 Viewer")
#endif


/////////////////////////////////////////////////////////////////////////////
// CRegistrationDlg dialog


CRegistrationDlg::CRegistrationDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CRegistrationDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CRegistrationDlg)
	m_strKey = _T("");
	m_strName = _T("");
	//}}AFX_DATA_INIT
}


void CRegistrationDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CRegistrationDlg)
	DDX_Text(pDX, IDC_KEY, m_strKey);
	DDX_Text(pDX, IDC_NAME, m_strName);
	//}}AFX_DATA_MAP
}

BOOL CRegistrationDlg::OnInitDialog()
{
	CDialog::OnInitDialog();

	this->SetWindowText(DIALOG_TITLE);

	return TRUE;
}


BEGIN_MESSAGE_MAP(CRegistrationDlg, CDialog)
	//{{AFX_MSG_MAP(CRegistrationDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CRegistrationDlg message handlers
